#ifndef RF_API_H_
#define RF_API_H_

#include "debug.h"
#include "iris404_cmd.h"
#include "shell.h"


void rf_tx_start();
void rf_tx_stop();
void rf_tx_set_gain(int channel, int gain);
uint32_t rf_tx_get_freq();

void rf_rx_start();
void rf_rx_stop();
void rf_rx_set_gain(int channel, int gain);
void rf_rx_set_freq(int freq);
void rf_rx_set_bw(int bandwidth);
uint32_t rf_rx_get_freq();
int16_t rf_rx_get_gain(int channel);

void rf_init();
void rf_setup(int channel);
void rf_close();
void rf_set_freq(char *tx_freq, char *rx_freq);

//add headers
void sblan_transmit();
void sblan_transmit_stop();
void sblan_receive();
void sblan_receive_stop();

void sblan_rfsetup(int channel,int tx_gain_level);
void sblan_set_rf_freq(int channel);


#endif /* RF_API_H_ */
